package com.zhentao.controller;

import com.zhentao.pojo.Order;
import com.zhentao.service.OrderService;
import com.zhentao.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("order")
public class OrderController {
    @Autowired
    private OrderService orderService;
    @RequestMapping("findallorder")
    public Result findallorder(Order order){
        return orderService.findallorder(order);
    }
}
